﻿using System;
using System.Configuration;

namespace BGShell.Configuration
{
    public sealed class BGShellSection : ConfigurationSection
    {
        [ConfigurationProperty("addins")]
        public BGShellAddInElementCollection AddIns
        {
            get { return (BGShellAddInElementCollection)this["addins"]; }
        }

        internal static BGShellSection GetCurrent()
        {
            return ConfigurationManager.GetSection("bgShell") as BGShellSection;
        }
    }
}
